package com.mall.service;

import com.github.pagehelper.PageInfo;
import com.mall.model.dto.ProductListRequest;
import com.mall.model.po.Product;

public interface ProductService {
    void addProduct(Product product);

    void updateProduct(Product product);

    void deleteProduct(Integer id);

    void updateBatchSellStatus(Integer[] ids, Integer sellStatus);

    PageInfo listForAdmin(Integer pageNum, Integer pageSize);

    Product detail(Integer id);

    PageInfo listForCustomer(ProductListRequest productListRequest);
}
